﻿using System;
using Moonlite.UI.Shell.Controls;
using Moonlite.ExtensionApi.ControlInterfaces;
using Moonlite.ExtensionApi.GlobalInterfaces;
using Moonlite.Platform.Project;

namespace Moonlite
{
    public class FileEventArgs : EventArgs
    {
        private ITextEditor textEditor;
        private IProject project;
        private IProjectFile file;
        private string filename;
        public ITextEditor TextEditor
        {
            get { return textEditor; }
            internal set { textEditor = value; }
        }

        public IProject Project
        {
            get { return project; }
            internal set { project = value; }
        }

        public IProjectFile File
        {
            get { return file; }
            internal set { file = value; }
        }

        public string Filename
        {
            get { return filename; }
            internal set { filename = value; }
        }

        public FileEventArgs() { }
        public FileEventArgs(ITextEditor textEditor, IProject project, IProjectFile file, string filename)
        {
            this.textEditor = textEditor;
            this.project = project;
            this.file = file;
            this.filename = filename;
        }
    }
}
